//
//  LGCiTangTaijiViewController.m
//  ligenyun
//
//  Created by Mac on 2018/3/26.
//  Copyright © 2018年 stoneobs@icloud.com. All rights reserved.
//

#import "LGCiTangTaijiViewController.h"

@interface LGCiTangTaijiViewController ()

@end

@implementation LGCiTangTaijiViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.tableView.frame = CGRectMake(0, 0, UIScreenWidth, [TMUtils tabBarTop] + 49 - ([TMUtils navgationBarBootom] + 44));
    self.tableView.contentInset = UIEdgeInsetsZero;
    
     UIView * header = [[UIView alloc] initWithFrame:CGRectMake(0, -([TMUtils navgationBarBootom] + 44), UIScreenWidth, 40)];
    UIImageView * imageview = [[UIImageView alloc] initWithFrame:CGRectMake(0, -([TMUtils navgationBarBootom] + 44), UIScreenWidth, UIScreenHeight)];
    imageview.centerX = UIScreenWidth / 2;
    imageview.image = [UIImage imageNamed:@"taiji"];
    imageview.userInteractionEnabled = YES;
    [header addSubview:imageview];
    header.height = imageview.bottom;
    header.clipsToBounds = YES;
    self.tableView.tableHeaderView = header;
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
